﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C43 RID: 3139
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MusicRhythmSaveSongConfigDataScRsp : IMessage<MusicRhythmSaveSongConfigDataScRsp>, IMessage, IEquatable<MusicRhythmSaveSongConfigDataScRsp>, IDeepCloneable<MusicRhythmSaveSongConfigDataScRsp>, IBufferMessage
	{
		// Token: 0x17002791 RID: 10129
		// (get) Token: 0x06008C5A RID: 35930 RVA: 0x00175559 File Offset: 0x00173759
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MusicRhythmSaveSongConfigDataScRsp> Parser
		{
			get
			{
				return MusicRhythmSaveSongConfigDataScRsp._parser;
			}
		}

		// Token: 0x17002792 RID: 10130
		// (get) Token: 0x06008C5B RID: 35931 RVA: 0x00175560 File Offset: 0x00173760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MusicRhythmSaveSongConfigDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002793 RID: 10131
		// (get) Token: 0x06008C5C RID: 35932 RVA: 0x00175572 File Offset: 0x00173772
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MusicRhythmSaveSongConfigDataScRsp.Descriptor;
			}
		}

		// Token: 0x06008C5D RID: 35933 RVA: 0x00175579 File Offset: 0x00173779
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmSaveSongConfigDataScRsp()
		{
		}

		// Token: 0x06008C5E RID: 35934 RVA: 0x00175581 File Offset: 0x00173781
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmSaveSongConfigDataScRsp(MusicRhythmSaveSongConfigDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.pGKMCLLIMLP_ = other.pGKMCLLIMLP_;
			this.curSongId_ = other.curSongId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008C5F RID: 35935 RVA: 0x001755BE File Offset: 0x001737BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmSaveSongConfigDataScRsp Clone()
		{
			return new MusicRhythmSaveSongConfigDataScRsp(this);
		}

		// Token: 0x17002794 RID: 10132
		// (get) Token: 0x06008C60 RID: 35936 RVA: 0x001755C6 File Offset: 0x001737C6
		// (set) Token: 0x06008C61 RID: 35937 RVA: 0x001755CE File Offset: 0x001737CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002795 RID: 10133
		// (get) Token: 0x06008C62 RID: 35938 RVA: 0x001755D7 File Offset: 0x001737D7
		// (set) Token: 0x06008C63 RID: 35939 RVA: 0x001755DF File Offset: 0x001737DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PGKMCLLIMLP
		{
			get
			{
				return this.pGKMCLLIMLP_;
			}
			set
			{
				this.pGKMCLLIMLP_ = value;
			}
		}

		// Token: 0x17002796 RID: 10134
		// (get) Token: 0x06008C64 RID: 35940 RVA: 0x001755E8 File Offset: 0x001737E8
		// (set) Token: 0x06008C65 RID: 35941 RVA: 0x001755F0 File Offset: 0x001737F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CurSongId
		{
			get
			{
				return this.curSongId_;
			}
			set
			{
				this.curSongId_ = value;
			}
		}

		// Token: 0x06008C66 RID: 35942 RVA: 0x001755F9 File Offset: 0x001737F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MusicRhythmSaveSongConfigDataScRsp);
		}

		// Token: 0x06008C67 RID: 35943 RVA: 0x00175608 File Offset: 0x00173808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MusicRhythmSaveSongConfigDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.PGKMCLLIMLP == other.PGKMCLLIMLP && this.CurSongId == other.CurSongId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008C68 RID: 35944 RVA: 0x00175664 File Offset: 0x00173864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.PGKMCLLIMLP != 0U)
			{
				num ^= this.PGKMCLLIMLP.GetHashCode();
			}
			if (this.CurSongId != 0U)
			{
				num ^= this.CurSongId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008C69 RID: 35945 RVA: 0x001756D5 File Offset: 0x001738D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008C6A RID: 35946 RVA: 0x001756DD File Offset: 0x001738DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008C6B RID: 35947 RVA: 0x001756E8 File Offset: 0x001738E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CurSongId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.CurSongId);
			}
			if (this.PGKMCLLIMLP != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.PGKMCLLIMLP);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008C6C RID: 35948 RVA: 0x00175760 File Offset: 0x00173960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.PGKMCLLIMLP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PGKMCLLIMLP);
			}
			if (this.CurSongId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CurSongId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008C6D RID: 35949 RVA: 0x001757D0 File Offset: 0x001739D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MusicRhythmSaveSongConfigDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.PGKMCLLIMLP != 0U)
			{
				this.PGKMCLLIMLP = other.PGKMCLLIMLP;
			}
			if (other.CurSongId != 0U)
			{
				this.CurSongId = other.CurSongId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008C6E RID: 35950 RVA: 0x00175834 File Offset: 0x00173A34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008C6F RID: 35951 RVA: 0x00175840 File Offset: 0x00173A40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 64U)
					{
						if (num != 88U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.PGKMCLLIMLP = input.ReadUInt32();
					}
				}
				else
				{
					this.CurSongId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040035A3 RID: 13731
		private static readonly MessageParser<MusicRhythmSaveSongConfigDataScRsp> _parser = new MessageParser<MusicRhythmSaveSongConfigDataScRsp>(() => new MusicRhythmSaveSongConfigDataScRsp());

		// Token: 0x040035A4 RID: 13732
		private UnknownFieldSet _unknownFields;

		// Token: 0x040035A5 RID: 13733
		public const int RetcodeFieldNumber = 11;

		// Token: 0x040035A6 RID: 13734
		private uint retcode_;

		// Token: 0x040035A7 RID: 13735
		public const int PGKMCLLIMLPFieldNumber = 8;

		// Token: 0x040035A8 RID: 13736
		private uint pGKMCLLIMLP_;

		// Token: 0x040035A9 RID: 13737
		public const int CurSongIdFieldNumber = 7;

		// Token: 0x040035AA RID: 13738
		private uint curSongId_;
	}
}
